package org.wlgzs.shop.service;

import org.wlgzs.shop.bean.CarData;
import org.wlgzs.shop.bean.Msg;
import org.wlgzs.shop.bean.ShowDate;

import java.util.List;

public interface ICarDataService {
    //添加购物车
    Msg addCar(CarData data);
    //删除购物车
    Msg deleteCar(String id,int userId);
    //查询购物车
    List<ShowDate> carList(int userId);
    //查询购物车
    List<CarData> selectCar(String Date);
    //更新购物车
    void upDateCarNumber(CarData carData);
    //根据UserId查询购物车
    List<CarData> selectCar(int userId);

}
